import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MediaCheck } from './mediaCheck.entity';
import { MediaCheckController } from './mediaCheck.controller';
import { MediaCheckService } from './mediaCheck.service';
import { Video } from '../video/video.entity';

import { TraceRelaTable } from '../traceRelaTable/traceRelaTable.entity';
import { TraceRelaTableService } from '../traceRelaTable/traceRelaTable.service';

import { AnswerInfo } from '../answerInfo/answerInfo.entity';
import { AnswerInfoService } from '../answerInfo/answerInfo.service';

import { Answer } from '../answer/answer.entity';
import { AnswerService } from '../answer/answer.service';

import { MultiImg } from '../multiImg/multiImg.entity';
import { MultiImgService } from '../multiImg/multiImg.service';
import { Platform } from '../platform/platform.entity';
import { Notices } from '../notices/notices.entity';
import { LikeVideo } from '../likeVideo/likeVideo.entity';
import { Reward } from '../reward/reward.entity';
import { Profit } from '../profit/profit.entity';
import { User } from '../user/user.entity';
import { Questions } from '../questions/questions.entity';
import { RewardSuccess } from '../rewardSuccess/rewardSuccess.entity';
import { UserSetting } from '../userSetting/userSetting.entity';
import { AnswerIdCard } from '../answerIdCard/answerIdCard.entity';
import { InternetCelebrity } from '../internetCelebrity/internetCelebrity.entity';
import { InternetCelebrityGroup } from '../internetCelebrityGroup/internetCelebrityGroup.entity';
import { WsStartGateway } from '../ws/ws.gateway';

@Module({
  imports: [TypeOrmModule.forFeature([MediaCheck, Video, TraceRelaTable, AnswerInfo, Answer, MultiImg, Platform, Notices, LikeVideo
    , Reward, Profit, User, Questions, RewardSuccess, UserSetting, AnswerIdCard, InternetCelebrity, InternetCelebrityGroup])],
  controllers: [MediaCheckController],
  providers: [MediaCheckService, TraceRelaTableService, AnswerInfoService, AnswerService, MultiImgService, WsStartGateway],
})
export class MediaCheckModule {}
